import Home from '@/components/yg/components/homeInfo.vue'
import Im from '@/components/yg/components/IM.vue'
import Collect from '@/components/yg/components/collect.vue'
import Datecontent from '@/components/yg/components/Datecontent.vue'
// import Login from '@/components/yg/components/Login.vue'
import AddHome from '@/components/yg/components/AddHome.vue'
// import Add from '@/components/yg/components/Add.vue'
const ygRoutes: any[] = [
    {
        path: "/homeinfo", //房东房源信息
        component: Home,
    },
    {
        path: "/im",
        component: Im,
    },
    {
        path: "/collect", //收藏页面
        component: Collect,
    },
    {
        path: "/datecontent", //日期选择页面
        component: Datecontent,
    },
    /*  {
         path: "/login", //登录页面
         component: Login,
     }, */
    {
        path: "/addhome", //添加房源页面
        component: AddHome,
    },

]
export default ygRoutes